package com.yuda.common.core.domain;

import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 th_ques_score_mapping
 *
 * @author wyn
 * @date 2021-05-12
 */
public class ThQuesScoreMapping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long subjectId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("学科Id")
    private Long relationSubjectId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("题号")
    private Long quesId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("题目序号")
    private String quesIndex;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("答案")
    private String answer;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String score;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String examUuid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSubjectId(Long subjectId)
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId()
    {
        return subjectId;
    }
    public void setRelationSubjectId(Long relationSubjectId)
    {
        this.relationSubjectId = relationSubjectId;
    }

    public Long getRelationSubjectId()
    {
        return relationSubjectId;
    }
    public void setQuesId(Long quesId)
    {
        this.quesId = quesId;
    }

    public Long getQuesId()
    {
        return quesId;
    }
    public void setQuesIndex(String quesIndex)
    {
        this.quesIndex = quesIndex;
    }

    public String getQuesIndex()
    {
        return quesIndex;
    }
    public void setAnswer(String answer)
    {
        this.answer = answer;
    }

    public String getAnswer()
    {
        return answer;
    }
    public void setScore(String score)
    {
        this.score = score;
    }

    public String getScore()
    {
        return score;
    }
    public void setExamUuid(String examUuid)
    {
        this.examUuid = examUuid;
    }

    public String getExamUuid()
    {
        return examUuid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subjectId", getSubjectId())
            .append("relationSubjectId", getRelationSubjectId())
            .append("quesId", getQuesId())
            .append("quesIndex", getQuesIndex())
            .append("answer", getAnswer())
            .append("score", getScore())
            .append("examUuid", getExamUuid())
            .toString();
    }
}
